package gameserver.model.gameobjects.player;

import java.sql.Timestamp;

import gameserver.model.gameobjects.Gender;

public class PlayerCommonData
{
	private final int playerObjId;
	private Gender gender;
	private String name;
	private int level;
	private long exp;
	private long charm;
	private Timestamp lastOnline;

	public PlayerCommonData(int _objId)
	{
		this.playerObjId = _objId;
	}

	public Gender getGender()
	{
		return gender;
	}

	public void setGender(Gender gender)
	{
		this.gender = gender;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public int getLevel()
	{
		return level;
	}

	public void setLevel(int level)
	{
		this.level = level;
	}

	public long getExp()
	{
		return exp;
	}

	public void setExp(long exp)
	{
		this.exp = exp;
	}

	public long getCharm()
	{
		return charm;
	}

	public void setCharm(long charm)
	{
		this.charm = charm;
	}

	public int getPlayerObjId()
	{
		return playerObjId;
	}

	public Timestamp getLastOnline()
	{
		return lastOnline;
	}

	public void setLastOnline(Timestamp timestamp)
	{
		lastOnline = timestamp;
	}
}
